<?php
// 事件定义文件
return [
    'bind' => [
    ],

    'listen' => [
        'AppInit'               => [],
        'HttpRun'               => [],
        'HttpEnd'               => [],
        'LogLevel'              => [],
        'LogWrite'              => [],

        // 定时任务：刷新玩法列表
        'DiscoverGameRoom'      => [\app\console\task\tetr\DiscoverGameRoom::class],
        // 定时任务：刷新游戏状态
        'RefreshGamePlayStatus' => [\app\console\task\tetr\RefreshGamePlayStatus::class],
        // 定时任务: 刷新直播间基础信息
        'RefreshGameRoomInfo'   => [\app\console\task\tetr\RefreshGameRoomInfo::class],
        // 定时任务: 刷新直播间状态
        'RefreshLiveStatus'     => [\app\console\task\tetr\RefreshLiveStatus::class],
    ],

    'subscribe' => [
    ],
];
